package com.spi.soconversion.base.definition;

public class Line {

	private int definition;
	private String status;
	
	private String primeLineNo;
	private String subLineNo = "1";
	
	private String lineType;
	private String lineStatus;
	private String orderedQty;
	private String lineNumber;
	private String itemType;
	private String flowStatusCode;
	private String reqDeliveryDate;
	private String reqShipDate;
	private String shipToKey;	
			
	public String getPrimeLineNo() {
		return primeLineNo;
	}
	
	public void setPrimeLineNo(String primeLineNo) {
		this.primeLineNo = primeLineNo;
	}
	
	public String getSubLineNo() {
		return subLineNo;
	}
	
	public void setSubLineNo(String subLineNo) {
		this.subLineNo = subLineNo;
	}

	public int getDefinition() {
		return definition;
	}

	public void setDefinition(int definition) {
		this.definition = definition;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getLineType() {
		return lineType;
	}

	public void setLineType(String lineType) {
		this.lineType = lineType;
	}

	public String getLineStatus() {
		return lineStatus;
	}

	public void setLineStatus(String lineStatus) {
		this.lineStatus = lineStatus;
	}

	public String getOrderedQty() {
		return orderedQty;
	}

	public void setOrderedQty(String orderedQty) {
		this.orderedQty = orderedQty;
	}
	
	public String getLineNumber() {
		return lineNumber;
	}

	public void setLineNumber(String lineNumber) {
		this.lineNumber = lineNumber;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}
	
	public String getFlowStatusCode() {
		return flowStatusCode;
	}

	public void setFlowStatusCode(String flowStatusCode) {
		this.flowStatusCode = flowStatusCode;
	}

	public String getReqDeliveryDate() {
		return reqDeliveryDate;
	}

	public void setReqDeliveryDate(String reqDeliveryDate) {
		this.reqDeliveryDate = reqDeliveryDate;
	}

	public String getReqShipDate() {
		return reqShipDate;
	}

	public void setReqShipDate(String reqShipDate) {
		this.reqShipDate = reqShipDate;
	}

	public String getShipToKey() {
		return shipToKey;
	}

	public void setShipToKey(String shipToKey) {
		this.shipToKey = shipToKey;
	}

	@Override
	public String toString() {
        StringBuffer s = new StringBuffer();
        s.append("Line[" + getLineNumber() + ", " + getItemType() + ", " + getFlowStatusCode() + ", "+ getDefinition() + ", " + getLineType() + "]");
        return s.toString();
    }
}